import Vue from 'vue'
import App from './App'
import store from './store/index.js'
import taskComplate2 from "./components/task-complate2/task-complate2.vue"
import {
	$request
} from './static/js/api.js'

uni.getSystemInfo({
	success(r) {
		Vue.prototype.statusBarHeight = r.statusBarHeight
	}
})

//路由返回
Vue.prototype.$back = () => {
	uni.navigateBack()
}
//路由跳转
Vue.prototype.$go = (route) => {
	uni.navigateTo({
		url:route
	})
}

Vue.config.productionTip = false
Vue.prototype.$ajax = $request
Vue.component('taskComplate2', taskComplate2)
App.mpType = 'app'
import './lk-componts/iconfont/lk-icon.css'
const app = new Vue({
	...App,
	store
})
app.$mount()
